import {defineStore} from "pinia";
import {ref} from 'vue'

export const WareHouseStore = defineStore('warehouse',()=>{
    const warehouse = ref('')

    const setwarehouse = (newwarehouse)=>{
        warehouse.value = newwarehouse
    }

    const renew = ()=>{
        warehouse.value = ''
    }

    return {warehouse,setwarehouse,renew}
})